package com.atguigu.dao;

import com.atguigu.entity.Dict;

import java.util.List;

public interface DictDao {
    List<Dict> findListByParentId(Long id);

    /*根据父id查询子数据条数的方法*/
    Integer countIsParent(Long id);

    Dict getByDictCode(String code);

    String getNameById(Long areaId);
}
